/******************************************************
  package list
******************************************************/
.package-list {
  clear: both;
  padding: 0;
  margin: 0;
  list-style: none;
}

.list-item {
  padding: 7px 8px;
}

.list-item:hover {
  background: #fafafa;
}

.list-item.-full {
  min-height: 7em;
}

.list-item > .title {
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}

.list-item > .description {
  font-size: 14px;
  line-height: 1.3;
  color: rgba(0, 0, 0, 0.87);
  margin: 0;
}

.list-item > .metadata {
  font-size: 12px;
  margin: 4px 0;
}

.list-item.-simple > .metadata > .package-tag:first-of-type {
  margin-left: 0;
}

.list-item > .api_pages {
  font-size: 12px;
}

.score-box {
  float: right;
  margin: 8px;
  position: relative;
  text-align: center;
  width: 36px;
}

.score-box > .number {
  display: block;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  margin: 0 auto;
  font-weight: 500;
}

.score-box > .number.-solid {
  background: #0175C2;
}

.score-box > .number.-good {
  background: #00c4b3;
}

.score-box > .number.-rotten {
  background: #bb2400;
}

.score-box > .number.-missing {
  background: #ccc;
}

.score-box > .number.-small {
  font-size: 12px;
}

.score-box > .new {
  position: absolute;
  top: -30%;
  right: -25%;
  background: #646464;
  border-radius: 3px;
  color: #ffeb3b;
  font-size: 10px;
  font-weight: bold;
  padding: 0px 2px;
  transition: background 0.2s ease-out;
}

.score-box > .new:hover {
  background: #424242;
}

.score-box > .text {
  font-size: 14px;
  color: #333;
}

.package-tag {
  background: #eef9fe;
  text-transform: uppercase;
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: #555;
  padding: 2px 8px;
  margin: 0px 0 4px 4px;
}

.package-tag.missing {
  background: #f0f0f0;
}

.package-tag.unidentified {
  background: #fff0f0;
}

.package-tag.legacy,
.package-tag.discontinued {
  background: #c0392b;
  color: #f8f8f8;
}

.feedback-critical {
  background: #fff0f0;
  padding: 0.5em;
}

/******************************************************
  list page
******************************************************/
.list-header {
  padding: 20px 30px;
}

.promo-box {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin: 32px 0;
  max-width: 600px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.promo-box > .logo {
  width: 40px;
  margin-right: 30px;
  margin-top: 6px;
}

.promo-box > p {
  margin: 0;
}

.promo-box .get-started {
  display: inline-block;
  margin-top: 16px;
}

.promo-box .get-started:after {
  content: " >";
}

.list-filters {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  flex-flow: row wrap;
  margin: 16px 0;
  border: 1px solid $color-searchbar-dark-border;
  border-radius: 3px;
}

.list-filters > .filter {
  background: transparent;
  border-right: 1px solid $color-searchbar-dark-border;
  color: $color-searchbar-dark-input-fg;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 24px;
  cursor: pointer;

  &:hover {
    background: rgba(255, 255, 255, 0.10);
  }
}

.list-filters > .filter.-active {
  color: $color-searchbar-dark-input-fg;
  background: $color-searchbar-dark-link;
}

.package-count {
  font-size: 16px;
  color: #333;
  margin: 24px 6px 10px;
}

.pagination {
  margin: 20px auto;
  padding: 0;
  list-style: none;
  text-align: center;
}

.pagination > li {
  display: inline-block;
  text-transform: uppercase;
  color: #0175C2;
  background: #f3f3f3;
  font-size: 14px;
  border-radius: 3px;
  margin-top: 40px;
}

.pagination > li.-disabled {
  pointer-events: none;
  color: #aaa;
}

.pagination > li.-active {
  pointer-events: none;
  color: #fff;
  background: #0175C2;
}

.pagination > li > a {
  display: inline-block;
  padding: 10px 16px;
  color: inherit;
  font-weight: 600;
}

.email-icon,
.search-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  vertical-align: text-bottom;
}

.email-icon {
  background-image: url("../img/ic_email_black_18px.svg?hash=i481p31dv31r1f2a4hn2115bkp577v5b");
}

.search-icon {
  background-image: url("../img/ic_search_black_18px.svg?hash=ge0i1c113s0s7cihqju9rfaqg2ls6rmn");
}
